Using the Memory Manager
This section discusses the techniques you can use both to deal with memory outside of your application's partition and to manipulate your own application's partition.
You can use the techniques in this section to
-
read and write the values of system global variables when there is no Toolbox routine that would accomplish the work for you
-
check for the availability of temporary memory and use it to speed operations that depend on memory buffers
-
allocate memory in the system heap
-
install code into the system heap
-
allocate memory at the high end of the available RAM from within a system extension during the startup process
-
initialize new heap zones within your application heap zone, on your application's stack, or in the application global variables area
-
install a purge-warning procedure for your application heap zone
© 1997 Apple Computer, Inc.Previous | Chapter Top | Chapter Contents | Next